<{include file="index/header.html"}>
<style>
	tbody .guige{
		color: #000;
		padding-left:15px;
	}
</style>
<div class="nav"><span>需求列表</span></div>
<div class="filter">
	<a href="?m=goods_order&a=seller" class="<{if $smarty.get.status == ''}>option_ch<{else}>option<{/if}>">全部</a>
	<a href="?m=goods_order&a=seller&status=1" class="<{if $smarty.get.status == '1'}>option_ch<{else}>option<{/if}>">已完成</a>
	<a href="?m=goods_order&a=seller&status=2" class="<{if $smarty.get.status == '2'}>option_ch<{else}>option<{/if}>">未完成</a>
</div>
<div class="main"> 
	<table class="ltable">
	  	<thead>
		  	<tr>
				<th width="180">标题</th>
				<th width="180">发布人</th>
				<th width="150">分类</th>
				<th>规格</th>
				<th width="200">发布时间</th>
				<th width="130">投标人数</th>
				<th width="150">投标状态</th>
				<th width="200">操作</th>
		  	</tr>
	  	</thead>
		<tbody>
	<{if $data.list}>
		<{foreach item=i from=$data.list}>
			<tr>
				<td><{$i.title}></td>
				<td><{$i.nick}></td>
				<td><{$i.name}></td>
				<td><{$i.goods_guige}></td>
				<td><{$i.addtime}></td>
				<td><{$i.tbs}></td>
				<td><{if $i.tbzt == 0}>投标进行中<{else}>投标已完成<{/if}></td>
				<td>
					<a href="?m=goods_order&a=seller_detail&id=<{$i.id}>" class="view">查看</a>
				</td>
			</tr>
		<{/foreach}>
	<{else}>
	  		<tr><td colspan="11">还没有数据，赶快添加吧！</td></tr>
	<{/if}>
		</tbody>
	</table> 
	<{if $data.page}>
		<div class="operate"> 
			<div class="tpage"><{$data.page}></div>
		</div>
	<{/if}> 
</div>
<{include file="index/footer.html"}> 
<script type="text/javascript">
_delete('?m=goods_order&a=del', '.del_ck');
</script>
